# Contributor: Cosmo Borsky <me@cosmoborsky.com>
# Maintainer: Cosmo Borsky <me@cosmoborsky.com>
pkgname=bemenu
pkgver=0.5.0
pkgrel=0
pkgdesc="Dynamic menu library and client program inspired by dmenu with support for wayland compositors"
options="!check" # No testsuite
url="https://github.com/Cloudef/bemenu"
arch="all"
license="GPL-3.0-or-later AND LGPL-3.0-or-later"
depends_dev="libxkbcommon-dev libxinerama-dev ncurses-dev wayland-dev pango-dev
	wayland-protocols"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
source="bemenu-$pkgver.tar.gz::https://github.com/Cloudef/bemenu/archive/$pkgver.tar.gz"

build() {
	PREFIX=/usr CFLAGS="$CFLAGS -g" make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="5f4397bcb77d3e22340988bfb131feced1782f724ff637e40bf03c36a4377f38127c827f55faccc0dcce2ca482b9353fca7c6bfe700e6cac8e095e0df3b87a31  bemenu-0.5.0.tar.gz"
